package com.poi.exp.domain;

import org.apache.poi.ss.usermodel.Cell;

import com.poi.util.JackJsonUtil;

/**
 * 单元格model VO
 * 
 * @author tarena
 *
 */
public class CellModelVO extends BaseModel {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1928444150450092063L;

	private Cell cell;

	private String expression;

	public CellModelVO(ModelType type, Cell cell) {
		super(type);
		this.cell = cell;
	}

	public CellModelVO(ModelType type) {
		super(type);
	}

	public CellModelVO() {
		super();
	}

	public Cell getCell() {
		return cell;
	}

	public void setCell(Cell cell) {
		this.cell = cell;
	}

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	@Override
	public String toString() {
		return JackJsonUtil.objToJson(this);
	}
}
